/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 *
 * @author pvhuy
 */
@Entity
@Table(name=ChucNang.TABLE_CHUCNANG)
public class ChucNang extends Base{
    public static final String TABLE_CHUCNANG = "ChucNang";

    protected static final String COLUMN_TENCHUCNANG = "TenChucNang";
    private static final int LENGTH_TENCHUCNANG = 45;
    @Column(name=COLUMN_TENCHUCNANG, length=LENGTH_TENCHUCNANG, nullable=false)
    private String tenChucNang;

    /**
     * @return the tenChucNang
     */
    public String getTenChucNang() {
        return tenChucNang;
    }

    /**
     * @param tenChucNang the tenChucNang to set
     */
    public void setTenChucNang(String tenChucNang) {
        this.tenChucNang = tenChucNang;
    }
}
